package com.nowcoder.community.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @description:
 * @Author HP
 * @create 2021/12/15 21:47
 */
//注解用来描述方法
@Target(ElementType.METHOD)
//注解有效时长，运行时有效
@Retention(RetentionPolicy.RUNTIME)
public @interface LoginRequired {
}
